<!--
  Generated template for the PersonalCentrePage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="mainColor">
    <ion-title>个人中心</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>
<div>
  <div class="user-box" (click)="uploadFile()">
    <div>
      <img [src]="user_image||'./assets/img/logo.png'">
    </div>
    <div>
        <p>{{real_name}}</p>
        <p>{{stu_no}}</p>
    </div>
  </div>
  <div class="user-info">
    <div>
      <i class="my-icon-stu-num"></i>
      <p>学号</p>
      <span>{{stu_no}}</span>
    </div>
    <div>
      <i class="my-icon-email"></i>
      <p>邮箱</p>
      <span>{{email}}</span>
    </div>
    <div (click)="faceSign()">
      <i class="my-icon-eye-plus"></i>
      <p>录入人脸识别信息</p>
      <span></span>
    </div>
  </div>
  <div class="user-info">
    <div (click)="queryScoreList()">
      <i class="my-icon-stats-dots"></i>
      <p>我的成绩</p>
      <span></span>
    </div>
    <div (click)="mySignList()">
      <i class="my-icon-calendar"></i>
      <p>我的签到</p>
      <span></span>
    </div>
    <div (click)="updatePassword()">
      <i class="my-icon-unlocked"></i>
      <p>密码管理</p>
      <span></span>
    </div>
    <div (click)="useOf()">
      <i class="my-icon-compass"></i>
      <p>使用说明</p>
      <span></span>
    </div>
    <!--<div (click)="checkVersion()">-->
      <!--<i class="my-icon-download"></i>-->
      <!--<p>检查更新</p>-->
      <!--<span></span>-->
    <!--</div>-->
  </div>
  <div class="user-info">
    <div (click)="aboutApk()">
      <i class="my-icon-question"></i>
      <p>关于范课堂</p>
      <span></span>
    </div>
    <div (click)="shareFriends()">
      <i class="my-icon-share"></i>
      <p>分享给朋友</p>
      <span></span>
    </div>
  </div>
</div>
  <div class="logout" (click)="logout()" padding_bottom [px]="padding">退出当前账号</div>
  <div class="code-pop" *ngIf="showCode==1" (click)="showCode=0">
    <img src="./assets/imgs/code.png" alt="">
  </div>
</ion-content>
<continue (status)="padding = $event? 80 : 0"></continue>
